package day0628.game;

public class Game {
    //把相对独立的代码，单独写在一个方法中
    public static void main(String[] args) throws InterruptedException {
        MyShip s=new MyShip();//监听器
        Object[]  os=new Object[0];
        Object[]  paoDan=new Object[0];
        Object[]  yuLei=new Object[0];
        for( ;1<3; ){
            //createSubmarine();
            //shoot();
            //move();
            //hit();
            Thread.sleep(300);
        }
    }

    private static void hit() {
    }

    private static void move() {
        //从paoDan取出每个炮弹，改炮弹的y坐标(让y坐标不断增大)
        //(用if显示y不能大于窗口的下边界的y坐标)
    }


    private static void shoot() {
    }

//    private static Submarine createSubmarine1() {
//    }
//    private static Submarine createSubmarine2() {
//    }
//    private static Submarine createSubmarine3() {
//    }
}
